# -*-coding: utf-8 -*-
"""
    @Theme   : Configs
    @Time    : 2024/6/19 10:43
    @Author  : YamFish
    @Url     : https://www.zhihu.com/people/yamfish
"""
import os

REDIS_HOST = os.getenv('REDIS_HOST', 'localhost')
REDIS_PORT = 6379
REDIS_PASSWORD = os.getenv('REDIS_PASSWORD')

CHAT_MSG_EXPIRE_TIME = 2 * 60
CHAT_COOKIE_EXPIRE_TIME = 24 * 60 * 60
CHAT_MSG_LENGTH = 20
